package com.jxc.wiki.service.impl;

import com.jxc.wiki.entity.Demo;
import com.jxc.wiki.mapper.DemoMapper;
import com.jxc.wiki.service.DemoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DemoServiceImpl  implements DemoService {

    @Resource
    private DemoMapper mapper;

    public List<Demo> list(){
        return mapper.selectByExample(null);
    }
}
